<form action="<?php echo JRoute::_("index.php?option=com_wrd")?>" method="post" name="filterform" >
	<table id='tbl_membership_frm'>
		<tr>
		 	<td colspan="4" style="text-align: left ;"><h2><b>Membership Application Report</b></h2></td>
		</tr>
 		<tr>
			<td width='35px'>From</td>		
			<td width='170px'>
				<?php
					echo JHTML::_ ( 'calendar', ($this->pr['date_from'] != '') ? $this->pr['date_from'] : '', 'date_from', 'date_from', '%Y-%m-%d');
				?>
			</td>
			<td width='40px'>Status</td>
			<td><?php echo $this->lists['listStatusSelection'] ; ?></td>
		</tr>
		<tr>
			<td width='35px'>To</td>		
			<td width='170px'>
				<?php
					echo JHTML::_ ( 'calendar', ($this->pr['date_to'] != '') ? $this->pr['date_to'] : '', 'date_to', 'date_to', '%Y-%m-%d');
				?>
			</td>
	 		<td colspan="2" style="text-align: left ;">
				<input type="submit" name="export" onclick="document.getElementById('task').value = 'export'" value="Export to excel" />
				<input type="submit" name="view" onclick="document.getElementById('task').value = 'view'" value="View" />
			</td>
		</tr>
 	</table>	
	<input type="hidden" name="controller" value="reports" />
	<input type="hidden" name="option" value="com_wrd" />
	<input type="hidden" name="task" id="task" value="" />
	<?php echo JHTML::_('form.token' ); ?>
</form>